package com.h3bpm.web.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author: VillWang
 * @Date: 2020/6/21 18:08
 */
@Component
public class UrlConfig {
    public static String BusinessUrl;
    public static String BPMURL;
    public static Boolean pushStatus;

    @Value("${tjec.BUSINESS}")
    public void setBusinessUrl(String aPPID) {
        UrlConfig.BusinessUrl = aPPID;
    }

    public String geBusinessUrl() {
        return BusinessUrl;
    }
    @Value("${tjec.BPM}")
    public void setBpmUrl(String aPPID) {
        UrlConfig.BPMURL = aPPID;
    }

    public String getBpmUrl() {
        return BPMURL;
    }
    @Value("${tjec.pushStatus}")
    public void setPushStatus(Boolean aPPID) {
        UrlConfig.pushStatus = aPPID;
    }

    public Boolean getPushStatus() {
        return pushStatus;
    }
}
